package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 时间对象 time_text
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
public class TimeText extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 任务名字 */
    @Excel(name = "任务名字")
    private String name;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    /** 查询开始时间 */
    @Excel(name = "开始日期")
    private String beginTime;
    /** 查询结束时间 */
    @Excel(name = "结束日期")
    private String endTime;

    public void setbeginTime(String beginTime)
    {
        this.beginTime = beginTime;
    }
    public String getbeginTime()
    {
        return beginTime;
    }
    public void setendTime(String endTime)
    {
        this.endTime = endTime;
    }
    public String getendTime()
    {
        return endTime;
    }

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
                .append("beginTime", getbeginTime())
                .append("endTime", getendTime())
            .toString();
    }
}
